package com.yodawnla.fishing.scene;

import java.util.ArrayList;

import android.view.KeyEvent;

import com.yodawnla.fishing.system.YS;
import com.yodawnla.lib.YoScene;
import com.yodawnla.lib.util.widget.YoButton;

public class ItemScene extends YoScene
{

	ArrayList<YoButton> mFishBtnList;
	ArrayList<YoButton> mFishbaitBtnList;
	ArrayList<YoButton> mFishRodBtnList;

	public ItemScene()
	{
	}

	@Override
	public void loadScene()
	{

	}

	@Override
	public void onEnterScene()
	{
	}

	public void selectRod()
	{

	}

	public void setectFishbait()
	{

	}

	@Override
	public boolean onKeyDown(final int pKeyCode, final KeyEvent pEvent)
	{
		switch (pKeyCode)
		{
		case KeyEvent.KEYCODE_BACK:
			if (pEvent.getAction() == KeyEvent.ACTION_DOWN)
			{
				toScene(YS.StageScene);
				return true;
			}
			break;
		case KeyEvent.KEYCODE_MENU:
			if (pEvent.getAction() == KeyEvent.ACTION_DOWN)
			{

				return true;
			}
			break;
		}
		return false;
	}

}
